package com.deco.dao.logic.clickStatistics;

import com.deco.dao.domain.table.ClickStatistics;
import com.deco.dao.mapper.ClickStatisticsMapper;
import com.free.ext.mybatis.dao.BaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 说明：
 * 创建人：Q879095880
 */
@Component
public class ClickStatisticsDao extends BaseDao<ClickStatistics,String> {
    @Autowired
    private ClickStatisticsMapper clickStatisticsMapper;

    public List<ClickStatistics> getByDate(ClickStatistics clickStatistics){
        return clickStatisticsMapper.getByDate(clickStatistics);
    }

    public Integer updCount(ClickStatistics clickStatistics){
        return clickStatisticsMapper.updCount(clickStatistics);
    }
}
